package org.chen.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CrawlerTaskDTO {
    @NotBlank(message = "任务名称不能为空")
    private String name;
    
    @NotNull(message = "爬取规则不能为空")
    private String ruleId;

    private String ruleDescription;
    
    private Boolean autoPublish;
    private Boolean crawlImages;
}